/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const dictionariesManage = {
  path: '/dictionariesManage',
  component: Layout,
  alwaysShow: true,
  name: '字典管理',
  redirect: 'noredirect',
  meta: {
    title: '字典管理',
    icon: 'component',
    resources: 'DictionariesManage'
  },
  children: [
    {
      path: 'dictionaries',
      component: () => import('@/views/dictionaries-manage/dictionaries'),
      name: '资质单位管理',
      meta: { title: '资质单位管理', icon: 'my-user', noCache: true, resources: 'dictionaries' }
    },
    {
      path: 'reason',
      component: () => import('@/views/dictionaries-manage/reason'),
      name: '字典参数管理',
      meta: { title: '字典参数管理', icon: 'my-user', noCache: true, resources: 'reason' }
    },
    // {
    //   path: 'explanation',
    //   component: () => import('@/views/dictionaries-manage/explanation'),
    //   name: '资质字典管理',
    //   meta: { title: '资质字典管理', icon: 'my-user', noCache: true, resources: 'explanation' }
    // },
    {
      path: 'explanation',
      component: () => import('@/views/dictionaries-manage/typeList'),
      name: '字典类型管理',
      meta: { title: '字典类型管理', icon: 'my-user', noCache: true, resources: 'listType' }
    },
    {
      path: 'label',
      component: () => import('@/views/dictionaries-manage/label'),
      name: '房间标签管理',
      meta: { title: '房间标签管理', icon: 'my-user', noCache: true, resources: 'label' }
    },
    {
      path: 'expression',
      component: () => import('@/views/dictionaries-manage/expression'),
      name: '表情包管理',
      meta: { title: '表情包管理', icon: 'my-role', noCache: true, resources: 'expression' }
    },
    {
      path: 'gift',
      component: () => import('@/views/dictionaries-manage/gift'),
      name: 'gift-d',
      meta: { title: '礼物管理', icon: 'my-user', noCache: true, resources: 'gift' }
    },
    {
      path: 'headFrame',
      component: () => import('@/views/dictionaries-manage/headFrame'),
      name: 'headFrame',
      meta: { title: '头像框管理', icon: 'my-role', noCache: true, resources: 'headFrame' }
    },
    {
      path: 'mounts',
      component: () => import('@/views/dictionaries-manage/mounts'),
      name: '坐骑管理',
      meta: { title: '坐骑管理', icon: 'my-user', noCache: true, resources: 'mounts' }
    }
  ]
}

export default dictionariesManage
